/**
 * 会员列表类型
 */
export interface VipItemType {
  id: number;
  createTime: string;
  updateTime: string;
  // isDeleted: 0;
  param: {
    // certificatesTypeString: null;
    statusString: string;
    authStatusString: string;
  };
  // openid: null;
  nickName: string;
  phone: string;
  name: string;
  // certificatesType: null;
  // certificatesNo: null;
  // certificatesUrl: null;
  authStatus: number;
  status: number;
}

export type VipListType = VipItemType[];
export interface GetVipResponseType {
  total: number;
  size: number;
  current: number;
  // orders: [];
  hitCount: boolean;
  searchCount: boolean;
  pages: number;
  records: VipListType;
}

/**
 * 获取详细类型
 */
export interface UserInfoType {
  id: number;
  createTime: string;
  updateTime: string;
  // isDeleted: 0;
  param: {
    // certificatesTypeString: null;
    statusString: string;
    authStatusString: string;
  };
  // openid: null;
  nickName: string | null;
  phone: string;
  name: string;
  certificatesType: string | null;
  certificatesNo: string | null;
  certificatesUrl: string | null;
  // authStatus: 0;
  status: number;
}

export interface VipDetailType {
  userInfo: UserInfoType;
  patientList: any[];
}
